import request from '@/utils/request';

export async function queryArticleList() {
  return request('/articles/index.json');
}

export async function queryArticle(filename: string) {
  return request(`/articles/${filename}.json`);
}
